import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(theme:ThemeData.light(), home: CustomIconFontWidget()));

class CustomIconFontWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      alignment: Alignment.center,
      child: Icon(CustomIcon.wx, color: Colors.green, size: 50.0,),
    );
  }
}

class CustomIcon {
  // - family: custom-font
  // fonts:
  // - asset: assets/fonts/custom-font.ttf
  static IconData wx = const IconData(
  0xe73b,
  fontFamily: "custom-font",
  matchTextDirection: true
  );
}
